package com.siwei.mes.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 物料对应试验项目(MaterialsTestProject)实体类
 *
 * @author linzi
 * @since 2023-11-27 23:44:40
 */
@Data
@Accessors(chain = true)
@Table(name = "t_materials_test_project")
@ApiModel(value = "MaterialsTestProject", description = "物料对应试验项目")
public class MaterialsTestProject implements Serializable {
    private static final long serialVersionUID = 443792107812141379L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "物料对应试验项目主键ID", name = "id")
    private Long id;
    /**
     * 试验项目编码
     */
    @Column(name = "item_code")
    @ApiModelProperty(value = "试验项目编码", name = "itemCode")
    private String itemCode;
    /**
     * 试验项目名称
     */
    @Column(name = "item_name")
    @ApiModelProperty(value = "试验项目名称", name = "itemName")
    private String itemName;
    /**
     * 类型  字典 MATERIAL_TYPE
     */
    @Column(name = "material_type")
    @ApiModelProperty(value = "类型  字典 MATERIAL_TYPE", name = "materialType")
    private Long materialType;
    /**
     * 类型 字典名称
     */
    @Column(name = "material_type_name")
    @ApiModelProperty(value = "类型 字典名称", name = "materialTypeName")
    private String materialTypeName;
    /**
     * 创建人
     */
    @Column(name = "creater")
    @ApiModelProperty(value = "创建人", name = "creater")
    private Long creater;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
    /**
     * 修改人
     */
    @Column(name = "updater")
    @ApiModelProperty(value = "修改人", name = "updater")
    private Long updater;
    /**
     * 更新时间
     */
    @Column(name = "update_time")
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;
    /**
     * 是否删除  1-删除
     */
    @Column(name = "is_del")
    @ApiModelProperty(value = "是否删除  1-删除", name = "isDel")
    private Integer isDel;

    /**
     * 是否启用 0-启用 1-未启用
     */
    @Column(name = "is_enable")
    @ApiModelProperty(value = "是否启用 0-启用 1-未启用", name = "isEnable")
    private Integer isEnable;
}
